home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / ZIPPED / DOS / GRAPHICS / POVSRC.ZIP / MACHINE.ZIP / UNIX.ZIP / UNIX.MAK < prev    next >
Makefile  |  1992-03-18  |  1KB  |  39 lines

  1. # Makefile for Persistence of Vision Raytracer
  2. # This file is released to the public domain.
  3. #
  4. #
  5. # MAKE Macros and Such...
  6. #
  7.  
  8. #***************************************************************
  9. #*
  10. #*                      UNIX Makefile
  11. #*
  12. #***************************************************************
  13.  
  14. # The exact options may depend on your compiler.  Feel free to modify
  15. # these as required.
  16. OBJ    = o
  17. MACHINE_OBJ    = unix.$(OBJ)
  18. CFLAGS=        -c -O
  19. LFLAGS =    -o povray -O
  20.  
  21. # Make's implicit rules for making a .o file from a .c file...
  22. #
  23. .c.o :
  24.     $(CC) $(CFLAGS) $*.c
  25.  
  26.  
  27. POVOBJS = povray.$(OBJ) render.$(OBJ) tokenize.$(OBJ) parse.$(OBJ) \
  28.       objects.$(OBJ) spheres.$(OBJ) quadrics.$(OBJ) lighting.$(OBJ) \
  29.       prioq.$(OBJ) texture.$(OBJ) matrices.$(OBJ) csg.$(OBJ) hfield.$(OBJ)\
  30.       txtcolor.$(OBJ) txtbump.$(OBJ) txtmap.$(OBJ) txttest.$(OBJ) \
  31.       colour.$(OBJ) viewpnt.$(OBJ) ray.$(OBJ) planes.$(OBJ) iff.$(OBJ) \
  32.       gif.$(OBJ) gifdecod.$(OBJ) triangle.$(OBJ) raw.$(OBJ) dump.$(OBJ) \
  33.       targa.$(OBJ) poly.$(OBJ) bezier.$(OBJ) vect.$(OBJ) \
  34.           blob.$(OBJ) boxes.$(OBJ) point.$(OBJ) $(MACHINE_OBJ)
  35.  
  36.  
  37. povray:    $(POVOBJS)
  38.     cc $(LFLAGS) $(POVOBJS) -lm
  39.